package com.itheima.service;

import com.itheima.bean.SetmealDish;

import java.util.List;

public interface SetmealDishService {

    /**
     * 添加套餐菜品数据
     * @param setmealDish
     * @return
     */
    int add(SetmealDish setmealDish);

    /**
     * 根据套餐id查询套餐的菜品数据
     * @param id
     * @return
     */
    public List<SetmealDish> findBySetmealId (Long id);

    /**
     * 根据套餐id删除套餐的菜品数据
     * @param id
     * @return
     */
    public  int deleteBySetmealId(Long id);
}
